package study.service;

import study.pojo.User;

public interface UserService {
    /*
    * 登录
    * */
    User login(String username, String password);

    /*
    * 注册
    * */
    boolean register(User user);

    /*
    * 查询用户名是否存在
    * */
    boolean selectUser(String username);


}
